<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="__PUBLIC__/Admin/Css/public.css" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
</head>
<body>
	<table class="table">
		<tr>
			<th>ID</th>
			<th>属性名称</th>
			<th>颜色</th>
			<th>操作</th>
		</tr>
		<foreach name="attr" item="v">
			<tr>
				<td><{$v.id}></td>
				<td><{$v.name}></td>
				<td>
					<div style='color:<{$v.color}>'>[<{$v.name}>]</div>
				</td>
				<td>
					<a href="<{:U('Home/Attr/xiugai',array('id'=>$v['id']))}>">[修改]</a>
					<a href="<{:U('Home/Attr/del',array('id'=>$v['id']))}>">[删除]</a>
				</td>
			</tr>
		</foreach>
	</table>

</body>
</html>